import requests
class IhrmLogin():
    @classmethod
    def login(cls,jsondata):
        url="http://ihrm-test.itheima.net/api/sys/login"
        res=requests.post(url,json=jsondata)
        return res